Skip to content

Fix Patch Rebuild skipping .deb/.rpm/.AppImage builds#24

Open
JonahBraun wants to merge 1 commit intomasterfrom
fix/patch-rebuild-missing-packages
Open

Fix Patch Rebuild skipping .deb/.rpm/.AppImage builds#24
JonahBraun wants to merge 1 commit intomasterfrom
fix/patch-rebuild-missing-packages

Conversation

@JonahBraun
Copy link
Copy Markdown

Fix Patch Rebuild skipping .deb/.rpm/.AppImage builds due to missing PATCH_REBUILD propagation and version-less asset checks.

Release 1.108.11148 shipped without any .deb, .rpm, or .AppImage files. The check job correctly detected the patch rebuild and skipped asset checking, but the build matrix jobs ran their own check_tags.sh without PATCH_REBUILD set. Combined with version-less contains checks (e.g. "amd64.deb" matching the previous release's assets), the build jobs falsely concluded the packages already existed and skipped them.

Changes

  • Add PATCH_REBUILD and CUSTOM_RELEASE_VERSION as outputs of the check job in stable-linux.yml and stable-windows.yml
  • Pass both variables into the build job environment so check_tags.sh can short-circuit during patch rebuilds
  • Make contains checks for .deb, .rpm, and .AppImage version-specific, matching the pattern already used for .tar.gz and CLI archives (e.g. "amd64.deb" → "${RELEASE_VERSION}_amd64.deb")
  • stable-macos.yml not affected (no separate check job; runs check_tags.sh inline)

Test plan

  • Trigger a Patch Rebuild after merge and verify .deb/.rpm/.AppImage appear in the release assets
  • Verify a normal push-triggered build still correctly skips already-uploaded assets

Two compounding bugs caused Patch Rebuilds to produce releases missing
Linux package assets (.deb, .rpm, .AppImage). PATCH_REBUILD was not
propagated from the check job to the build matrix jobs, and the asset-
existence checks for these formats used version-less patterns that
matched assets from previous releases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant